// 播放组件
import req from "@/utils/req"

// 根据歌曲id请求歌曲url
export function reqGetSongUrl(id){
  return req({
    method:"get",
    url:`/song/url?id=${id}`
  })
}

// 根据歌曲id获取歌曲详情
export function reqGetSongDetail(id){
  return req({
    method:"get",
    url:`/song/detail?ids=${id}`
  })
}